package com.chain.BrotherExchange.im.model;

public class Message {

    public static final int SEND_TYPE = 1, RECEIVE_TYPE = 2;

    // 发送消息或接收消息
    private int type;

    // 消费内容
    private String message;

    public Message(int type, String message) {
        this.type = type;
        this.message = message;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
